home *** CD-ROM | disk | FTP | other *** search
- Path: parsifal.nando.net!sirrobin
- From: sirrobin@nando.net (sirrobin)
- Newsgroups: comp.lang.c++
- Subject: A file I/O question
- Date: 11 Jan 1996 16:48:45 GMT
- Organization: NandO.net
- Message-ID: <4d3f1d$3l3@castle.nando.net>
- NNTP-Posting-Host: parsifal.nando.net
- X-Newsreader: TIN [version 1.2 PL2]
-
- Okay this one is probably VERY easy :)
- What i want to do is read a file called part.dat until it reaches a !
- I have no problem with this
- Now what i want to do is WRITE over that ! and add a new field and then add
- a ! after the new field
- My problem is that ifstream on my compiler does not have getch as
- a member so i cannot keep a count of WHERE i should start writing to
- the file...
- Is there something i am missing..
- Thanks in advance
-
- --
- ()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
- () Richard Arnesen () Paraphrasing Bryant Gumbel on Today ()
- () sirrobin@nando.net () So which do you think has been worse ()
- () GO WOLFPACK () for the country, Newts Contract or ()
- () () the Oklahoma City Bombing ()
- ()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
-
-
-